package hk.com.carfield.persistance;

import com.sleepycat.je.DatabaseException;
import com.sleepycat.persist.EntityStore;
import com.sleepycat.persist.PrimaryIndex;

public class GenericDA {
	public final PrimaryIndex<String, GenericEntity> pIdx;

	public GenericDA(final EntityStore store) throws DatabaseException {
		pIdx = store.getPrimaryIndex(String.class, GenericEntity.class);
	}
}
